import $http from '@/API/HTTP'
import { joinUrl, wx } from '@/utils/utils'
// 获得opneId
export function getOpenIdApi(data) {
  return $http.post(`${wx}/getUserKey`, data)
}
// 向用户发送信息
export function sendMessageApi(data) {
  return $http.post(`${wx}/subSend`, data)
}
// 品牌详情
export function getGroupInfoApi(data) {
  return $http.post(`${joinUrl}/getGroupBrandsInfo`, data)
}